\renewcommand{\copyright}{(c)}
\newcommand{\hlvers}{1.0 Beta}
\newcommand{\ccindices}{
\begin{table}
\caption{Indices in a ``Card Catalog Data Base''.}
\label{tab:cardindex}

\begin{tabular}{|l|l|}
\hline
Name&Description \\
\hline
\verb+id+& \vtop{\hsize=3.5in This index is by a unique identifier.
Each card has its own unique identifier.} \\
\verb+title+& This index is the title cross-reference. \\
\verb+author+& This index is the author cross-reference. \\
\verb+subject+& This index is a subject index. \\
\hline
\end{tabular}

\end{table}
}
\newcommand{\ccdbfig}{
\begin{figure}
\caption{Structure of a ``Card Catalog Data Base''.}
\label{fig:dbfile}
\vspace{3truein}
(dbstruct.doc goes here)
%%\begin{picture}(320,130)
%%\put(0,0){\fbox{
%%\begin{picture}(310,120)
%%%
%%\put(0,0){card catalog file}
%%%
%%\put(115.2,96){\framebox[72pt]{id index}}
%%\put(0,72){\framebox[72pt]{title index}}
%%\put(0,48){\framebox[72pt]{author index}}
%%\put(0,24){\framebox[72pt]{subject index}}
%%%
%%\put(237.6,96){\framebox[64.8pt]{Cards}}  % id
%%\put(86.4,72){\framebox[64.8pt]{lists}}  % title
%%\put(100.8,48){\framebox[64.8pt]{lists}}  % author
%%\put(115.2,24){\framebox[64.8pt]{lists}}  % subject
%%%
%%\put(187.2,96){\vector(1,0){50.4}}  % id -> cards
%%%
%%\put(72,72){\vector(1,0){14.4}}  % title -> lists
%%\put(72,48){\vector(1,0){28.8}}  % author -> lists
%%\put(72,24){\vector(1,0){43.2}}  % subject -> lists
%%%
%%\put(144,84){\vector(0,1){12}}  % (title->lists) -> (ids -> cards)
%%\put(158.4,60){\vector(0,1){36}}  % (author->lists) -> (ids -> cards)
%%\put(172.8,36){\vector(0,1){60}}  % (subject->lists) -> (ids -> cards)
%%%
%%\end{picture} }}
%%\end{picture}
\end{figure}
}
\newcommand{\cardfields}{
\begin{table}
\caption{Fields in a ``card''.}
\label{tab:cardfields}

\begin{tabular}{|l|l|}
\hline
Name&Description \\
\hline
\verb+id+&A unique identifier. \\
%%\hline
\verb+type+&The type of item the card describes. \\
%%\hline
\verb+author+&For the author (or artist). \\ 
%%\hline
\verb+title+&For the title. \\ 
%%\hline
\verb+publisher+&For the name of the publisher. \\
%%\hline
\verb+city+&For the city where the item was published. \\
%%\hline
\verb+description+&For a long description. \\
%%\hline
\verb+volume+&For the volume number. \\
%%\hline
\verb+year+&For the year published. \\
\hline
\end{tabular}

\end{table}
}
\newcommand{\cardtypes}{
\begin{table}
\caption{Allowed types for a ``card''.}
\label{tab:cardtypes}

\begin{tabular}{|l|l|}
\hline
Name&Description \\
\hline
\verb+Book+& For books. \\
%%\hline
\verb+Magazine+& For magazines and periodicals. \\
%%\hline
\verb+CD+& For compact disks. \\
%%\hline
\verb+AudioCassette+& For audio cassettes. \\
%%\hline
\verb+Album+& For record albums. \\
%%\hline
\verb+LaserDisk+& For laser (video) disks. \\
%%\hline
\verb+VHSVideo+& For VHS format video tape recordings. \\
%%\hline
\verb+BetaVideo+& For Beta format video tape recordings. \\
%%\hline
\verb+EightMM+& For 8mm video tape recordings. \\
%%\hline
\verb+EightTrack+& For 8-track audio recordings. \\
%%\hline
\verb+DAT+& For 4mm digital audio tapes. \\
%%\hline
\verb+Other+& For anything else. \\
\hline
\end{tabular}

\end{table}
}
\newcommand{\keybinds}{
\begin{table}
\caption{Common Key Bindings.}
\label{tab:keybind}

\begin{tabular}{|l|l|l|}
\hline
Special Key&Generic Key&Meaning \\
\hline
\verb+Home+&\verb+Esc+&Exit or quit \\
%\hline
\verb+<-+ (left arrow)&\verb+Ctrl-B+&Move left \\
%\hline
\verb+->+ (right arrow)&\verb+Ctrl-F+&Move right \\
%\hline
{\tt \char'136} (up arrow)&\verb+Ctrl-P+&Move up \\
%\hline
\verb+v+ (down arrow)&\verb+Ctrl-N+&Move down \\
%\hline
&\verb+Delete+ or \verb+Backspace+&\vtop{\hsize=1.5in Delete previous character} \\
%\hline
&\verb+Return+ or \verb+Enter+&\vtop{\hsize=1.5in Accept input or selection} \\
\hline
\end{tabular}

\end{table}
}
\newcommand{\edcardkey}{
\begin{table}
\caption{Card Editor Key Bindings.}
\label{tab:edcardkey}

\begin{tabular}{|l|l|l|}
\hline
Special Key&Generic Key&Meaning \\
\hline
\verb+Home+&\verb+Esc+&Exit \\
%\hline
\verb+<-+ (left arrow)&\verb+Ctrl-B+&Previous field \\
%\hline
\verb+->+ (right arrow)&\verb+Ctrl-F+&Next field \\
%\hline
{\tt \char'136} (up arrow)&\verb+Ctrl-P+&Previous field \\
%\hline
\verb+v+ (down arrow)&\verb+Ctrl-N+&Next field \\
%\hline
&\verb+Tab+ or \verb+Ctrl-I+&Next field \\
%\hline
&\verb+i+ or \verb+I+&Modify current field \\
%\hline
&\verb+Ctrl-L+&Repaint screen \\
%\hline
&\verb+?+&Display help screen \\
%\hline
&\verb+Ctrl-S+&Save card \\
%\hline
&\verb+h+ or \verb+H+&\vtop{\hsize=1.5in Give help for the current field} \\
\hline
\end{tabular}

\end{table}
}

